﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Vibz.SharePoint.Entity
{
    public enum ColumnType
    {
        Text, DateTime, Number, Note, MultiChoice, Boolean
    }
    public class ColumnInfo
    {
        public string ColumnName
        {
            get;
            set;
        }
        public ColumnType Type
        {
            get;
            set;
        }
        public string Description
        {
            get;
            set;
        }
        public object AssociatedItems
        {
            get;
            set;
        }
        public ColumnInfo(string name, ColumnType type)
            : this(name, type, "")
        {
        }
        public ColumnInfo(string name, ColumnType type, string description)
        {
            ColumnName = name;
            Type = type;
            Description = description;
        }
    }
}
